package com.svse.controller;

import com.svse.annotation.AccessLimit;
import com.svse.annotation.OperateLog;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 系统日志表 前端控制器
 * </p>
 *
 * @author 李宇航
 * @since 2019-10-30
 */
@RestController
@RequestMapping("/sysLogEntity")
public class SysLogController {


    @RequestMapping("/accessLimit")
    @AccessLimit(frequency = 5,message = "请勿频繁请求数据")
    @OperateLog(description = "接口防刷测试")
    public String accessLimit(){

        return  "test";
    }
}

